package com.cly.vo;

import com.cly.entity.Problem;
import com.cly.enums.ProblemTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 题目视图
 *
 * @author by 春风能解释
 * <p>
 * 2024/9/25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@NoArgsConstructor
@Schema(name = "题目视图")
public class ProblemVo extends Problem {

    /**
     * 序列化ID
     */
    @Serial
    private static final long serialVersionUID = -5695580596225968536L;

    /**
     * 题目类型
     */
    @Schema(name = "题目类型")
    private ProblemTypeEnum typeName;

    /**
     * 科目名称
     */
    @Schema(name = "科目名称")
    private String subjectName;

    /**
     * 题库名称
     */
    @Schema(name = "题库名称")
    private String bankName;
}
